home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
except.zip
/
B4DMSG.H
< prev
next >
Wrap
Text File
|
1993-03-03
|
1KB
|
66 lines
//
// Values are 32 bit values layed out as follows:
//
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
// +---+-+-+-----------------------+-------------------------------+
// |Sev|C|R| Facility | Code |
// +---+-+-+-----------------------+-------------------------------+
//
// where
//
// Sev - is the severity code
//
// 00 - Success
// 01 - Informational
// 10 - Warning
// 11 - Error
//
// C - is the Customer code flag
//
// R - is a reserved bit
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// Define the facility codes
//
//
// Define the severity codes
//
//
// MessageId: B4D_ERROR_LOAD_LIBRARY_FAILED
//
// MessageText:
//
// Cannot load Dynamic Link Library.
//
#define B4D_ERROR_LOAD_LIBRARY_FAILED 0xCFFE0001L
//
// MessageId: B4D_ERROR_PAINT_FAILED
//
// MessageText:
//
// Cannot Paint.
//
#define B4D_ERROR_PAINT_FAILED 0xCFFE0002L
//
// MessageId: B4D_ERROR_DEMO
//
// MessageText:
//
// This is a demo error.
// String arg = "%1!s!"
// Numeric arg = %2!ld! 0x%2!lX!
//
#define B4D_ERROR_DEMO 0xCFFE0003L